package com.dwxt.mall.controller;

import com.dwxt.common.base.BaseResult;
import com.dwxt.mall.entity.CustomerService;
import com.dwxt.mall.service.CustomerServiceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RequestMapping("/mall/customer")
@RestController
public class CustomerController {
    @Autowired
    private CustomerServiceService customerServiceService;

    @RequestMapping("/selectPhone")
    public BaseResult selectPhone() {
        CustomerService customerService = customerServiceService.selectPhone();
        return BaseResult.ok(customerService);
    }
}
